home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Compute! Gazette 1984 July
/
1984-07.d64
/
code pro-64 sma
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-09-20
|
21KB
|
622 lines
6 poke53280,14:poke53281,6
10 dim hf(96),lf(96),pt(9,9),as(255),wt$(9),nd(2,22),mu(99,3)
90 p1%=peek(828):p2%=peek(829):p3%=peek(830)
99 ft=0
100 rem title page
110 poke53272,23:print "[159][147]";spc(16);"[215][197][204][195][207][205][197][157][157][157][157][157]to[157][157][157][157][157][157][195]ode[208]ro-64[146]"
115 print " ([193] [195]ommodore 64 [212]utorial)":print spc(18);"by"
120 print" [211][217][211][212][197][205][211] [205][193][206][193][199][197][205][197][206][212] [193][211][211][207][195][201][193][212][197][211]"
125 print spc(11);"3700 [195]omputer [196]rive":print spc(12);"[210]aleigh, [206][195] 27609"
130 print" [195]opyright (c) 1983":printtab(10);"'[193]ll [210]ights [210]eserved'"
135 print spc(6);"[208]lease [215][193][201][212][146] for program [204][207][193][196][146]"
136 ifft=0thengosub3300:gosub9000:ft=1
137 ifft=1then fort=0to1500:nextt
150 print"[147][159]";:pt$=" [215]elcome to the [195]ode[208]ro-64 demo! ":gosub9410:print
151 gosub9300
152 print" [217]ou will be seeing some of the more"
153 gosub9300
154 print" than ";:pt$="160":gosub9410:print" tutorial and instructional"
155 gosub9300
156 print" screens in this system in the next"
157 gosub9300
158 print" 5 minutes. "
164 print" [195]ode[208]ro-64 teaches you [194][193][211][201][195], [211]prite,"
165 gosub9300
166 print" and [205]usic programming...";:pt$="visually":gosub9410:print"..."
167 gosub9300
168 print" [217]ou are in ";:pt$="complete control":gosub9410:print" and use"
169 gosub9300
170 print" our [205]ain [205]enu to select topics..."
171 ml=25:pt$=f7$:gosub9420
172 gosub9400
200 gosub201:goto245
201 poke53272,23:print"[146][159][147][195]ode[208]ro-64 (c) 1983, [211][205][193] [205]ain [205]enu"
202 poke54296,0
203 print" [207]verview":print" 0 - [213]sing [195]ode[208]ro-64 "
204 print" 1 - [195][194][205]-64 [203]eyboard [210]eview "
206 print" [194][193][211][201][195][160][212]utorial"
207 print" 2 - [201]ntroduction to [194][193][211][201][195] "
208 print" 3 - [194][193][211][201][195][160][195]ommands "
210 print" 4 - [194][193][211][201][195][160][211]tatements "
212 print" 5 - [194][193][211][201][195][160][198]unctions "
214 print" [199]raphics & [205]usic"
215 print" 6 - [203]eyboard graphics "
216 print" 7 - [201]ntroduction to [211][208][210][201][212][197][211] "
218 print" 8 - [211][208][210][201][212][197][160][199]enerator "
220 print" 9 - [211][208][210][201][212][197][160][196]emonstrator "
222 print" [193] - [201]ntroduction to [205][213][211][201][195] "
224 print" [194] - [205][213][211][201][195][160][199]enerator "
226 print" [195] - [205][213][211][201][195][160][196]emonstrator "
228 print" [207]ther [207]ptions":print" [203] - [203]eyword [201]nquiry "
230 print" [210] - [210]un [211]ample [208]rograms "
233 return
245 ml=25:pt$=" [212]hese are the topics we will cover. ":gosub9420
250 ns=1152:nl=03:gosub1190:gosub1192:ns=1192:nl=03:gosub1190:gosub1192
251 ns=1312:nl=03:gosub1190:gosub1192:ns=1352:nl=03:gosub1190:gosub1192
252 ns=1392:nl=22:gosub1190:ns=1432:nl=03:gosub1190:gosub1192
253 ns=1552:nl=03:gosub1190:gosub1192:ns=1592:nl=03:gosub1190:gosub1192
254 ns=1632:nl=22:gosub1190:ns=1672:nl=25:gosub1190
255 ns=1712:nl=03:gosub1190:gosub1192:ns=1752:nl=21:gosub1190
256 ns=1792:nl=24:gosub1190:ns=1912:nl=03:gosub1190:gosub1192
257 ns=1952:nl=03:gosub1190:gosub1192
258 ml=25:pt$=f7$:gosub9420:gosub9400
259 gosub2200:gosub3450:gosub3100:gosub2600:gosub900:gosub4000:goto1500
400 goto1000
900 print"[147][159]"
902 print" [212]he [195]ommodore 64 [211]ound [201]nterface"
903 gosub9300
904 print" [196]evice ";:pt$="([211][201][196])":gosub9410:print" is a unique and quite"
905 gosub9300
906 print" versatile music synthesizer...but it"
907 gosub9300
908 print" is ";:pt$="complex and difficult":gosub9410:print" to program."
909 gosub9300
910 print" [195]ode[208]ro-64 helps you ";:pt$="master":gosub9410:print" sound"
911 gosub9300
912 print" effects and music generation with the"
913 gosub9300
914 print" [211][201][196] by letting you ";:pt$="[197]xperiment":gosub9410:print" with"
915 gosub9300
916 print" the [211][201][196]..."
917 gosub9300
918 print" [207]ur ";:pt$="[205][213][211][201][195][160][196]emonstrator":gosub9410:print" lets you enter"
919 gosub9300
920 print" various combinations of [211][201][196] register"
921 gosub9300
922 print" values and ";:pt$="hear the results":gosub9410:print" by"
923 gosub9300
924 print" playing a keyboard 'organ'."
925 gosub9300
926 print" [215]atch and listen now..."
927 ml=25:pt$=f7$:gosub9420
928 gosub9400
1000 poke53272,21:print"[159][147]codepro-64 music demonstrator c.0.4";
1001 poke54296,15
1002 nd=1:nz=50:ln=3:rem nz=77 for 3 ln
1009 print"[146] "
1010 print"[146] [144] [144] [194] [144] [144] [144] [194] [144] [144] [194] [144] [144] [146] last"
1012 print"[146] [144] [144] [194] [144] [144] [144] [194] [144] [144] [194] [144] [144] [146] note"
1014 print"[146] [146]2 [146]3 [194] [146]5 [146]6 [146]7 [194] [146]9 [146]0 [194] [146]- [146]\ [146] "
1016 print"[146] [194] [194] [194] [194] [194] [194] [194] [194] [194] [194] [194] [194] [146] "
1018 print"[146] q[194]w[194]e[194]r[194]t[194]y[194]u[194]i[194]o[194]p[194]@[194]*[194]^"
1020 print"[159]#[146] wf[146] pulse[146] a[146] d[146] s[146] r[146] dur[146] s/m[146] oct[146]"
1024 gosub1200
1026 print"select line with cursor. play keyboard,"
1027 print"or press f2 to edit line or f4 for song.";
1028 ml=23:pt$="codepro lets you select & edit sid ":gosub9420
1029 ml=24:pt$="parameters and play the keyboard. ":gosub9420
1030 print"";:forn=0toln:print"";:nextn
1031 print"";right$(str$(ln),1);
1040 ad=9:sr=0:pokev1+5,9:pokev1+6,0:pokev1+2,0:pokev1+3,8:ov=60
1041 nz=0
1042 ty=20:wn=65:wf=64:nx=0:ni=1
1043 nx=nx+ni:ifnx>22ornx<1then1060
1044 ny=nx-ni:ifny<1thenny=1
1045 ifny>22thenny=22
1046 pokepz,nd(0,nx):pokepz+1,nd(1,nx):pokepx+nd(2,ny),32:pokepx+nd(2,nx),81
1048 nn=ov+nx:pokev1+5,0:pokev1+6,0:pokev1+4,8:pokev1+4,0
1050 pokev1,lf(nn):pokev1+1,hf(nn):pokev1+5,ad:pokev1+6,sr
1052 pokev1+4,wn:tx=ti+ty
1054 iftx>tithen1054
1056 pokev1+4,wf:goto1043
1060 nz=nz+1:ifnz>1then1140
1062 print"";:forn=0toln:print"";:nextn
1063 print"[146][159]";right$(str$(ln),1);
1064 ln=0:print"";:forn=0toln:print"";:nextn
1065 print"";right$(str$(ln),1);
1070 ad=9:sr=208:wn=33:wf=32:pokev1+5,9:pokev1+6,208:pokev1+2,0:pokev1+3,0
1072 ty=10:nx=22:ni=-1:ov=36
1074 goto1044
1100 rem
1135 rem flash -play keyboard-
1136 ns=1849:nl=14:gosub1190
1139 goto1030
1140 rem
1142 ml=25:pt$="press f7 to continue ":gosub9420
1149 gosub9400:return
1190 forn5=0tonl-1:n6=ns+n5:poken6,peek(n6)+128:nextn5:fort=0to250:nextt:return
1192 forn5=0tonl-1:n6=ns+n5:poken6,peek(n6)-128:nextn5:fort=0to100:nextt:return
1194 forn5=0tonl-1:n6=ns+n5:poken6,peek(n6)+128:nextn5:fort=0to2000:nextt:return
1196 forn5=0tonl-1:n6=ns+n5:poken6,peek(n6)-128:nextn5:fort=0to20:nextt:return
1199 stop
1200 print"0 33(s) 0, 0 0 9 12 12 10 s 3"
1201 print"1 33(s) 0, 0 0 9 12 12 20 m 5"
1202 print"2 17(t) 0, 0 0 9 12 12 20 m 5"
1203 print"3 65(p) 8, 0 0 9 12 12 20 m 5"
1204 print"4 129(n) 0, 0 0 9 12 12 20 m 2"
1205 print"5 33(s) 0, 0 4 10 8 10 20 m 5"
1206 print"6 0 0, 0 0 0 0 0 0 s 0"
1207 print"7 0 0, 0 0 0 0 0 0 s 0"
1208 print"8 0 0, 0 0 0 0 0 0 s 0"
1209 print"9 0 0, 0 0 0 0 0 0 s 0"
1299 return
1500 print"[147][159] [195]ode[208]ro-64 is only $59.95 (plus $3.00
1502 [153]" shipping)! atnnd we offer a 10-day "
1504 [153]" moneyback guarantee. (NULL)rder now by "
1506 [153]" calling (NULL)(NULL)(NULL)(NULL) asc(NU